Skip to content

fix: show Tasks view container in Cursor when not authenticated#839

Open
EhabY wants to merge 1 commit intomainfrom
fix/cursor-tasks-view-container
Open

fix: show Tasks view container in Cursor when not authenticated#839
EhabY wants to merge 1 commit intomainfrom
fix/cursor-tasks-view-container

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Mar 13, 2026

Summary

  • Cursor has a bug where view containers with all views hidden via when clauses never re-appear after the context changes (forum thread)
  • Add a placeholder login tree view (coder.tasksLogin) so the coderTasks container always has at least one visible view, with a viewsWelcome login button when unauthenticated
  • VS Code is unaffected; the coder (Remote) container was already fine because myWorkspaces has no when clause

Fixes #838

Test plan

  • In Cursor: verify the Tasks view container appears in the sidebar before logging in, showing a "Login" button
  • In Cursor: verify the Tasks webview appears after authenticating

@EhabY EhabY self-assigned this Mar 13, 2026
Cursor has a bug where view containers whose views are all hidden via
`when` clauses never re-appear after the context changes. Add a
placeholder login tree view so the coderTasks container always has at
least one visible view.

Fixes #838
@EhabY EhabY force-pushed the fix/cursor-tasks-view-container branch from f2b02c4 to b2e8f1e Compare March 13, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Coder Tasks view container not visible in Cursor due to conditional when clause

1 participant